﻿@model PP.Models.CmsItem

<div id="divContent">
    @if (this.User.IsInRole("Admin")) { 
        <div>
            @Ajax.ActionLink("Edit", "Edit", new { id = Model.Id }, new AjaxOptions { UpdateTargetId = "divContent" })
        </div>
    }

    @*@Model.Text*@
    @Html.Raw(Model.Text)
</div>